
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon linyer icon-bianji"></i>
                    <div class="name">编辑</div>
                    <div class="fontclass">.icon-bianji</div>
                </li>
            
                <li>
                <i class="icon linyer icon-excel"></i>
                    <div class="name">excel</div>
                    <div class="fontclass">.icon-excel</div>
                </li>
            
                <li>
                <i class="icon linyer icon-copy"></i>
                    <div class="name">复制</div>
                    <div class="fontclass">.icon-copy</div>
                </li>
            
                <li>
                <i class="icon linyer icon-print"></i>
                    <div class="name">打印</div>
                    <div class="fontclass">.icon-print</div>
                </li>
            
                <li>
                <i class="icon linyer icon-delect"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-delect</div>
                </li>
            
                <li>
                <i class="icon linyer icon-bianji2"></i>
                    <div class="name">编辑</div>
                    <div class="fontclass">.icon-bianji2</div>
                </li>
            
                <li>
                <i class="icon linyer icon-bianji1"></i>
                    <div class="name">编辑</div>
                    <div class="fontclass">.icon-bianji1</div>
                </li>
            
                <li>
                <i class="icon linyer icon-pdf"></i>
                    <div class="name">pdf</div>
                    <div class="fontclass">.icon-pdf</div>
                </li>
            
                <li>
                <i class="icon linyer icon-gou"></i>
                    <div class="name">启用</div>
                    <div class="fontclass">.icon-gou</div>
                </li>
            
                <li>
                <i class="icon linyer icon-home"></i>
                    <div class="name">home</div>
                    <div class="fontclass">.icon-home</div>
                </li>
            
                <li>
                <i class="icon linyer icon-setting"></i>
                    <div class="name">cog</div>
                    <div class="fontclass">.icon-setting</div>
                </li>
            
                <li>
                <i class="icon linyer icon-userplus"></i>
                    <div class="name">user-plus</div>
                    <div class="fontclass">.icon-userplus</div>
                </li>
            
                <li>
                <i class="icon linyer icon-users"></i>
                    <div class="name">users</div>
                    <div class="fontclass">.icon-users</div>
                </li>
            
                <li>
                <i class="icon linyer icon-zanting"></i>
                    <div class="name">暂停</div>
                    <div class="fontclass">.icon-zanting</div>
                </li>
            
                <li>
                <i class="icon linyer icon-xgpwd4"></i>
                    <div class="name">修改密码</div>
                    <div class="fontclass">.icon-xgpwd4</div>
                </li>
            
                <li>
                <i class="icon linyer icon-xiugai"></i>
                    <div class="name">修改</div>
                    <div class="fontclass">.icon-xiugai</div>
                </li>
            
                <li>
                <i class="icon linyer icon-xgpwd3"></i>
                    <div class="name">修改密码</div>
                    <div class="fontclass">.icon-xgpwd3</div>
                </li>
            
                <li>
                <i class="icon linyer icon-xgpwd2"></i>
                    <div class="name">修改密码</div>
                    <div class="fontclass">.icon-xgpwd2</div>
                </li>
            
                <li>
                <i class="icon linyer icon-xgpwd1"></i>
                    <div class="name">修改密码</div>
                    <div class="fontclass">.icon-xgpwd1</div>
                </li>
            
                <li>
                <i class="icon linyer icon-stop"></i>
                    <div class="name">暂停</div>
                    <div class="fontclass">.icon-stop</div>
                </li>
            
                <li>
                <i class="icon linyer icon-add-no"></i>
                    <div class="name">add</div>
                    <div class="fontclass">.icon-add-no</div>
                </li>
            
                <li>
                <i class="icon linyer icon-close-no"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close-no</div>
                </li>
            
                <li>
                <i class="icon linyer icon-true-no"></i>
                    <div class="name">true</div>
                    <div class="fontclass">.icon-true-no</div>
                </li>
            
                <li>
                <i class="icon linyer icon-time"></i>
                    <div class="name">time</div>
                    <div class="fontclass">.icon-time</div>
                </li>
            
                <li>
                <i class="icon linyer icon-time-active"></i>
                    <div class="name">time-active</div>
                    <div class="fontclass">.icon-time-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-warning-active"></i>
                    <div class="name">message-active</div>
                    <div class="fontclass">.icon-warning-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-warning"></i>
                    <div class="name">message</div>
                    <div class="fontclass">.icon-warning</div>
                </li>
            
                <li>
                <i class="icon linyer icon-download-active"></i>
                    <div class="name">download-active</div>
                    <div class="fontclass">.icon-download-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-download"></i>
                    <div class="name">download</div>
                    <div class="fontclass">.icon-download</div>
                </li>
            
                <li>
                <i class="icon linyer icon-bottom"></i>
                    <div class="name">下</div>
                    <div class="fontclass">.icon-bottom</div>
                </li>
            
                <li>
                <i class="icon linyer icon-right"></i>
                    <div class="name">右</div>
                    <div class="fontclass">.icon-right</div>
                </li>
            
                <li>
                <i class="icon linyer icon-left"></i>
                    <div class="name">左</div>
                    <div class="fontclass">.icon-left</div>
                </li>
            
                <li>
                <i class="icon linyer icon-top"></i>
                    <div class="name">上</div>
                    <div class="fontclass">.icon-top</div>
                </li>
            
                <li>
                <i class="icon linyer icon-tool"></i>
                    <div class="name">工具</div>
                    <div class="fontclass">.icon-tool</div>
                </li>
            
                <li>
                <i class="icon linyer icon-help"></i>
                    <div class="name">帮助2</div>
                    <div class="fontclass">.icon-help</div>
                </li>
            
                <li>
                <i class="icon linyer icon-more"></i>
                    <div class="name">更多</div>
                    <div class="fontclass">.icon-more</div>
                </li>
            
                <li>
                <i class="icon linyer icon-msg"></i>
                    <div class="name">消息</div>
                    <div class="fontclass">.icon-msg</div>
                </li>
            
                <li>
                <i class="icon linyer icon-msg-active"></i>
                    <div class="name">消息2</div>
                    <div class="fontclass">.icon-msg-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-user"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon linyer icon-user-active"></i>
                    <div class="name">用户2</div>
                    <div class="fontclass">.icon-user-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-email"></i>
                    <div class="name">邮件1</div>
                    <div class="fontclass">.icon-email</div>
                </li>
            
                <li>
                <i class="icon linyer icon-email-active"></i>
                    <div class="name">邮件2</div>
                    <div class="fontclass">.icon-email-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-mini"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-mini</div>
                </li>
            
                <li>
                <i class="icon linyer icon-mini-active"></i>
                    <div class="name">删除2</div>
                    <div class="fontclass">.icon-mini-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-add"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon linyer icon-add-active"></i>
                    <div class="name">添加2</div>
                    <div class="fontclass">.icon-add-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-close-active"></i>
                    <div class="name">关闭2</div>
                    <div class="fontclass">.icon-close-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-close"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon linyer icon-love"></i>
                    <div class="name">喜欢</div>
                    <div class="fontclass">.icon-love</div>
                </li>
            
                <li>
                <i class="icon linyer icon-love-active"></i>
                    <div class="name">喜欢2</div>
                    <div class="fontclass">.icon-love-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-edit"></i>
                    <div class="name">意见反馈</div>
                    <div class="fontclass">.icon-edit</div>
                </li>
            
                <li>
                <i class="icon linyer icon-zhiding"></i>
                    <div class="name">置顶</div>
                    <div class="fontclass">.icon-zhiding</div>
                </li>
            
                <li>
                <i class="icon linyer icon-exports"></i>
                    <div class="name">导出</div>
                    <div class="fontclass">.icon-exports</div>
                </li>
            
                <li>
                <i class="icon linyer icon-qiyong"></i>
                    <div class="name">启用</div>
                    <div class="fontclass">.icon-qiyong</div>
                </li>
            
                <li>
                <i class="icon linyer icon-gift"></i>
                    <div class="name">礼品</div>
                    <div class="fontclass">.icon-gift</div>
                </li>
            
                <li>
                <i class="icon linyer icon-qrcode"></i>
                    <div class="name">二维码2</div>
                    <div class="fontclass">.icon-qrcode</div>
                </li>
            
                <li>
                <i class="icon linyer icon-hot"></i>
                    <div class="name">热门</div>
                    <div class="fontclass">.icon-hot</div>
                </li>
            
                <li>
                <i class="icon linyer icon-alipay"></i>
                    <div class="name">app-zhi</div>
                    <div class="fontclass">.icon-alipay</div>
                </li>
            
                <li>
                <i class="icon linyer icon-weixin"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin</div>
                </li>
            
                <li>
                <i class="icon linyer icon-check"></i>
                    <div class="name">勾3</div>
                    <div class="fontclass">.icon-check</div>
                </li>
            
                <li>
                <i class="icon linyer icon-arrow-top"></i>
                    <div class="name">箭头2-1</div>
                    <div class="fontclass">.icon-arrow-top</div>
                </li>
            
                <li>
                <i class="icon linyer icon-arrow-bottom"></i>
                    <div class="name">箭头2-2</div>
                    <div class="fontclass">.icon-arrow-bottom</div>
                </li>
            
                <li>
                <i class="icon linyer icon-arrow-left"></i>
                    <div class="name">箭头2-3</div>
                    <div class="fontclass">.icon-arrow-left</div>
                </li>
            
                <li>
                <i class="icon linyer icon-arrow-right"></i>
                    <div class="name">箭头2-4</div>
                    <div class="fontclass">.icon-arrow-right</div>
                </li>
            
                <li>
                <i class="icon linyer icon-triangle-bottom"></i>
                    <div class="name">箭头3-2</div>
                    <div class="fontclass">.icon-triangle-bottom</div>
                </li>
            
                <li>
                <i class="icon linyer icon-triangle-left"></i>
                    <div class="name">箭头3-3</div>
                    <div class="fontclass">.icon-triangle-left</div>
                </li>
            
                <li>
                <i class="icon linyer icon-triangle-right"></i>
                    <div class="name">箭头3-4</div>
                    <div class="fontclass">.icon-triangle-right</div>
                </li>
            
                <li>
                <i class="icon linyer icon-dollar"></i>
                    <div class="name">美元8</div>
                    <div class="fontclass">.icon-dollar</div>
                </li>
            
                <li>
                <i class="icon linyer icon-rmb"></i>
                    <div class="name">人民币4</div>
                    <div class="fontclass">.icon-rmb</div>
                </li>
            
                <li>
                <i class="icon linyer icon-triangle-top"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-triangle-top</div>
                </li>
            
                <li>
                <i class="icon linyer icon-star-active"></i>
                    <div class="name">star-active</div>
                    <div class="fontclass">.icon-star-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-star"></i>
                    <div class="name">star</div>
                    <div class="fontclass">.icon-star</div>
                </li>
            
                <li>
                <i class="icon linyer icon-zan"></i>
                    <div class="name">赞</div>
                    <div class="fontclass">.icon-zan</div>
                </li>
            
                <li>
                <i class="icon linyer icon-zan-active"></i>
                    <div class="name">赞</div>
                    <div class="fontclass">.icon-zan-active</div>
                </li>
            
                <li>
                <i class="icon linyer icon-search"></i>
                    <div class="name">搜索-搜索</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">linyer</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"linyer"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
